<!DOCTYPE html>
<html>
<head>
    <?= $this->element('head') ?>
    <?= $this->fetch('meta') ?>
    <?= $this->fetch('css') ?>
    <?= $this->fetch('script') ?>
</head>
<body>
	<div id="container">
		<header>
		    <?= $this->Html->image('soljica.png', array(
	            'url'   => '/'
		    )) ?>
		    <? if(!empty($isAdmin)): ?>
	        <div class="top-actions">
	            <?= $this->Html->link(__('Odjava'), '/app/logout') ?>
	        </div>
		    <? endif ?>
		</header>
		<div id="menu"><?= $this->element('menu') ?></div>
		<section id="content">
			<?= $this->Session->flash(); ?>
			<?= $this->fetch('content'); ?>
		</section>
		
		<footer></footer>
	</div>
	<? $this->element('sql_dump'); ?>
</body>
</html>
